package manager.bean;

import java.util.Date;

public class Department {
    private int id;
    private String name;
    private int count;
    private Date createtime;
    private int code;

    @Override
    public String toString() {
        return "Department{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", count=" + count +
                ", createtime=" + createtime +
                ", code=" + code +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Department() {
    }

    public Department(int id, String name, int count, Date createtime, int code) {
        this.id = id;
        this.name = name;
        this.count = count;
        this.createtime = createtime;
        this.code = code;
    }
}
